package cn.edu.zafu.bigdata.x.Yum;

public class Course {
    /**
     * 课程id
     */
    private String courseId;
    /**
     * 课程名称
     */
    private String coursename;
    /**
     * 课程描述
     */
    private String description;
    /**
     *学分
     */
    private int credits;
    /**
     * 课程教师
     */
    private String teacher;

    /**
     * 构造函数
     * @param courseId
     * @param coursename
     * @param description
     * @param credits
     * @param teacher
     */
    public Course(String courseId,String coursename,String description,int credits,String teacher){
        this.courseId=courseId;
        this.coursename=coursename;
        this.description=description;
        this.credits=credits;
        this.teacher=teacher;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseId='" + courseId + '\'' +
                ", coursename='" + coursename + '\'' +
                ", description='" + description + '\'' +
                ", credits=" + credits +
                ", teacher='" + teacher + '\'' +
                '}';
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getCredits() {
        return credits;
    }

    public void setCredits(int credits) {
        this.credits = credits;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }
}
